<template>
  <div class="box">
    <div class="charts-container">
      <echarts ref="chartRef" :options="options" @click="click" />
    </div>
  </div>
</template>

<script>
import get1 from './chartsConfig/01/options';
import get2 from './chartsConfig/02/options';
import get3 from './chartsConfig/03/options';
import get4 from './chartsConfig/04/options';
import get5 from './chartsConfig/05/options';
import get6 from './chartsConfig/06/options';
import get7 from './chartsConfig/07/options';
import get8 from './chartsConfig/08/options';
import get10 from './chartsConfig/10/options';
import get11 from './chartsConfig/11/options';
export default {
  name: '',
  components: {},
  data() {
    return {
      options: {},
    };
  },
  computed: {},
  created() {
    this.options = get11({ color: '#4CC389' });
  },
  mounted() {
    // const chart = this.$refs.chartRef.getChart();
    // this.options = get4({ chart });
  },
  methods: {
    click(params) {
      console.log(params);
    },
  },
};
</script>

<style lang="scss" scoped>
.box {
  height: 100%;
  background-color: #0e2b30;
  .charts-container {
    width: 1000px;
    height: 600px;
  }
}
</style>
